package com.xhh.nphm.gaoxin.mapper;

import com.xhh.nphm.common.annotation.DataSource;
import com.xhh.nphm.common.constant.Constants;
import com.xhh.nphm.common.core.domain.entity.Dept;
import com.xhh.nphm.gaoxin.entity.GxqTtelGetDealEty;
import org.apache.ibatis.annotations.Lang;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.harmony.toddler.mybatis.groovy.GroovyLangDriver;

import java.util.List;
import java.util.Map;

@Mapper

public interface GxqTestMapper {

    @Select("select wsTopic,fmContent,iptTime fromTime from CdMayorTelMail.dbo.tWorkFormBase where isDel=0 [[and fmContent =#{fmContent}]]")
    List<Map<String,Object>> selectList(GxqTtelGetDealEty GxqTtelGetDealEty);

    @Select("CommonMapperSql#selectByCondition")
    @Lang(GroovyLangDriver.class)
    List<Dept> selectByCondition(Dept dept);
}
